package br.com.tenax.primefaces;

public class Player {

	private int number;
	private String name;

	public Player() {
		
	}

	public Player( String name,int number) {
		super();
		this.number = number;
		this.name = name;
	}

	
	public String getName() {
		return name;
	}

	public int getNumber() {
		return number;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	@Override
	public String toString() {
		return "Player [number=" + number + ", name=" + name + "]";
	}

	

}
